Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SET-CALLBACK( ) method
Associates a method within a class object instance, or an internal procedure within a persistent procedure, with a Progress callback event.
Return type: LOGICAL Applies to: Buffer object handle, ProDataSet object handle, Query object handle
callback-nameA quoted string or character expression representing the name of a callback. The
callback-nameis not case-sensitive.routine-nameA quoted string or character expression representing the name of a method or an internal procedure that resides within
routine-context.routine-contextAn object reference for a class object instance or a handle to a persistent procedure that contains the method or internal procedure specified by
routine-name. If not specified, and the routine is executed within a procedure, THIS-PROCEDURE is used as the routine context. If not specified, and the routine is executed within a class object instance, THIS-OBJECT is used as the routine context.If
callback-nameis not a valid callback, orroutine-contextis not a valid object reference or handle, this method returns FALSE; otherwise, it returns TRUE. If the SET-CALLBACK( ) method is specified but cannot be invoked, or it fails, no method or procedure is executed as part of the callback event.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |